home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / text0458.txt < prev    next >
Encoding:
Text File  |  1994-09-20  |  1.3 KB  |  35 lines

  1. Mr Mig wrote:
  2.  
  3. > Re: Changing the color of the title bar on an intuition screen.
  4.  
  5. > This one is easy (even for me! :)  Use the PalRGB command after
  6. > opening up your screen.  For example:
  7.  
  8. >     Screen 0,0
  9. >     ScreensBitMap 0,0
  10. >     PalRGB 0,2,6,5,6
  11. >     Use Palette 0
  12. >     MouseWait
  13.  
  14. Um, thanks, but that's not *quite* what I was after...
  15.  
  16. What I need to know is how to change *which* registers are actually used
  17. to draw the titlebar, not how to change the *contents* of the registers.  :)
  18.  
  19. Say, for example, that the title bar is drawn with register 2 (like your
  20. example), but that register has the same (or similar) colour as the
  21. background (a paint program for example...), so you can't change it.
  22. Assume register 3, though, has a different colour.  Is there any way
  23. to tell Intuition to use register 3 instead of register 2 to draw the
  24. title bar???  The same goes for the text in the title bar...
  25.  
  26. It's probably a really simple problem...
  27.  
  28. - Richard
  29.  
  30.      _--_|\ AMIGA /// Richard Wiffen (swiffenr@cc.curtin.edu.au) -- Perth, W.A.
  31.     /      \ OK! /// --------------------------------------------------------- 
  32.  ==>\_.--._/ \\\/// "Hm!  Teenagers...  They think they know everything.       
  33.           v   \XX/           You give them an inch, they swim all over you." 
  34.  
  35.